<template>
  <div id="app">
    <keep-alive exclude="articlesinfo,login,search1,userinfo">
      <router-view></router-view>
    </keep-alive>
  </div>
</template>

<script>
export default {
  data () {
    return {}
  }
}
</script>

<style lang="less">
.fade-enter {
  visibility: hidden;
  opacity: 0.8;
}
.fade-leave-to {
  display: none;
}
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.8s ease;
}
.fade-enter-to,
.fade-leave {
  visibility: visible;
  opacity: 1;
}
</style>
